// <copyright file="ButtonTypeRegular.aspx.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System;
using YUIAspNet;

namespace YUIAspNetDemo.Button
{
    public partial class ButtonTypeRegular : BaseDemoPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.btnCallback.Click += new EventHandler<ButtonEventArgs>(btn_Click);
            this.btnPostback.Click += new EventHandler<ButtonEventArgs>(btnPostback_Click);
        }

        void btnPostback_Click(object sender, ButtonEventArgs e)
        {
            this.lblTimePB.Text = DateTime.Now.ToLongTimeString();
        }

        void btn_Click(object sender, ButtonEventArgs e)
        {
            this.lblTime.Text = DateTime.Now.ToLongTimeString();
        }
    }
}
